package com.example.demoopcjava.opcua.demo2;

import lombok.Data;

/**
 * <b><code>OpcModel</code></b>
 * <p>
 * Description
 * <p>
 * <b>Create Time:</b> 2022/1/10 11:11.
 *
 * @author qd.yt
 * @version 0.0.1
 * @since demo-opc-java v0.0.1
 */
@Data
public class OpcModel {
   private String accessPath;
   private String itemName;
   private int namespaceIndex;

   public OpcModel() {
   }

   public OpcModel(int namespaceIndex,String accessPath, String itemName) {
      this.accessPath = accessPath;
      this.itemName = itemName;
      this.namespaceIndex = namespaceIndex;
   }

   public OpcModel(int namespaceIndex, String accessPath) {
      this.accessPath = accessPath;
      this.namespaceIndex = namespaceIndex;
   }

   public int getNamespaceIndex() {
      return namespaceIndex;
   }

   public void setNamespaceIndex(int namespaceIndex) {
      this.namespaceIndex = namespaceIndex;
   }

   public String getAccessPath() {
      return accessPath;
   }

   public void setAccessPath(String accessPath) {
      this.accessPath = accessPath;
   }

   public String getItemName() {
      return itemName;
   }

   public void setItemName(String itemName) {
      this.itemName = itemName;
   }
}
